import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function findProductCategoryListByPage(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/findProductCategoryListByPage',
        method: 'post',
        params
    })
}
export function findCategoryTree(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/findCategoryTree',
        method: 'post',
        params
    })
}
export function del(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/del',
        method: 'post',
        params
    })
}
export function find(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/find',
        method: 'post',
        params
    })
}
export function findAllFirstList(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/findAllFirstList',
        method: 'post',
        params
    })
}
export function save(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/res/product/category/save',
        method: 'post',
        params
    })
}